package ch.ethz.fcl.metrobuzz.render.od.flow_view.sankey;

public class ODPair {
	private SankeyNode origin;
	private SankeyNode destin;

	private float volume;
	private float probability;

	public ODPair(SankeyNode origin, SankeyNode destin) {
		this.origin = origin;
		this.destin = destin;
	}

	public void setVolume(float volume) {
		this.volume = volume;
	}

	public void setProbability(float probability) {
		this.probability = probability;
	}

	public float getVolume() {
		return volume;
	}

	public float getProbability() {
		return probability;
	}

	public SankeyNode getOrigin() {
		return origin;
	}

	public SankeyNode getDestin() {
		return destin;
	}
}
